﻿using System;
using System.ComponentModel.DataAnnotations;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class OrganisationV : BaseApprovableEntity
    {
        [Required]
        [StringLength(25)]
        public string OrganisationName { get; set; }

        [StringLength(100)]
        public string OrganisationDescription { get; set; }
        
        public Guid? ParentOrganisationGuid { get; set; }
        
        public Guid? CountryGuid { get; set; }

        #region Navigation properties
        public virtual Organisation Organisation { get; set; }
        public virtual Organisation ParentOrganisation { get; set; }
        public virtual Country Country { get; set; }
        #endregion
    }
}
